auto merge of #282 : alexcrichton/cargo/fix-some-cross-compile-with-plugins, r=wycats
authorbors <bors@rust-lang.org>
Tue, 29 Jul 2014 00:14:32 +0000 (00:14 +0000)
committerbors <bors@rust-lang.org>
Tue, 29 Jul 2014 00:14:32 +0000 (00:14 +0000)
* Make sure plugins link to plugin dependencies, not target dependencies.
  Previously the --extern flag was being passed incorrectly but the dependency
  was being picked up by -L anyway.

* Fix a type and actually put the host dep directory into LD_LIBRARY_PATH, not
  the target directory. A test was added for this change.


Trivial merge